package fina2.dcs.fis;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.jboss.seam.annotations.Name;

@Entity
@SuppressWarnings("serial")
@Table(name = "IN_LICENCE_TYPES")
@Name("licType")
public class LicenceType implements Serializable {
	private BigDecimal id;
	private BigDecimal namestrid;
	private String description;

	@Id
	@Column(name = "ID")
	public BigDecimal getId() {
		return id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	@Column(name = "NAMESTRID")
	public BigDecimal getNamestrid() {
		return namestrid;
	}

	public void setNamestrid(BigDecimal namestrid) {
		this.namestrid = namestrid;
	}

	@Transient
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String toString() {
		return this.description;
	}
}